﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JMacia.Gaming.d20.Core.Traits
{
    /// <summary>
    /// Defines methods for traits that modify a d20 roll
    /// </summary>
    public interface ID20Modifier
    {
        /// <summary>
        /// Whether or not a roll of natural 20 for this trait automatically succeeds.
        /// </summary>
        bool AutoSucceed { get; set; }
        /// <summary>
        /// Whether or not a roll of natural 1 for this trait automatically fails.
        /// </summary>
        bool AutoFail { get; set; }
    }
}
